#ifndef HCINDI_H
#define HCINDI_H

#include "HandController.h"
#include "MountDisplay.h"
#include "Pad.h"
#include "HCSettings.h"
#include <qsettings.h>
#include <QApplication>
#include <QCloseEvent>



class HCINDI: public QApplication {
  Q_OBJECT

public:
  HCINDI(int& argc, char** argv);
  void setPad(Pad *p);
  void setMountDisplay(MountDisplay *m);
  void setSettings(QSettings *s);
  void setHandController(HandController *h);
  void setHCSettings(HCSettings *hcs);
  Pad *getPad();
  MountDisplay *getMountDisplay();
  QSettings *getSettings();
  HandController *getHandController();
  HCSettings *getHCSettings();

private:
  Pad *pad;
  MountDisplay *mountdisplay;
  QSettings *settings;
  HandController *hc;
  HCSettings  *hcsettings;
  
};

extern HCINDI *hApp;

#endif //HCINDI_H